Total Complexity | 33 |
Dependencies | 5 |
Dependents | 2 |
Total lines | 192 |
Lines of code | 78 |
Logical lines of code | 37 |
Comment lines | 84 |
Methods | 12 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_lowest_free_shipping_limit() | 56 | 7 | 17 | |
has_shipping_rate_with_free_shipping() | 61 | 5 | 13 | |
add_free_shipping_notice_if_should() | 65 | 5 | 8 | |
has_free_shipping_rate() | 66 | 4 | 8 | |
has_shipping_method_free_shipping_notice_enabled() | 69 | 4 | 6 | |
get_cart_value() | 78 | 2 | 3 | |
__construct() | 77 | 1 | 4 | |
hooks() | 78 | 1 | 3 | |
get_shipping_packages_count() | 80 | 1 | 3 | |
add_free_shipping_amount_to_session() | 72 | 1 | 5 | |
is_excluded_shipping_method() | 74 | 1 | 4 | |
is_package_rate_from_flexible_shipping() | 75 | 1 | 4 |